class FloorAndTime {
  int floorId;
  int beginTime;
  int endTime;
  //自己加的
  bool isExpand;

  FloorAndTime({this.beginTime, this.endTime,this.floorId,this.isExpand = true});

  factory FloorAndTime.fromJson(Map<String, dynamic> json) {
    return FloorAndTime(
        beginTime: json['beginTime'],
        endTime: json['endTime'],
        floorId: json['floorId']
    );
  }
}